class CreateLines < ActiveRecord::Migration
  def self.up
    create_table :lines do |t|
      t.string :order_num
      t.string :line_id
      t.string :product
      t.decimal :qty
      t.decimal :price
      t.decimal :unitcost
      t.decimal :sum_sales
      t.decimal :sum_cost
      t.string :req

      t.timestamps
    end
  end

  def self.down
    drop_table :lines
  end
end
